package com.glyxybxhtxt.service.impl;

import com.glyxybxhtxt.dao.WechatMapper;
import com.glyxybxhtxt.service.WeChatService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author George
 * @project glyxybxxththd
 * @package com.glyxybxhtxt.service.impl
 * @date 2021/12/18 17:33
 * @since 1.0
 */

@Service
@Slf4j
public class WeChatServiceImpl implements WeChatService {

    @Resource
    private WechatMapper wechatMapper;

    @Override
    public int WechatLogin(String id, String phone) {
        return wechatMapper.WechatLogin(id,phone);
    }
}
